﻿using System;
using System.Net;
using System.ComponentModel;
using System.Collections.Generic;
using System.Linq;

namespace bdnt_pets_system_Entity
{
    public class SimpleObject<T1, T2> : INotifyPropertyChanged
    {
        public T1 Item1 { get; set; }
        public T2 Item2 { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;
        public virtual void OnPropertyChanged(string propertyName)
        {
            System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
            if (handler != null)
            {
                var e = new System.ComponentModel.PropertyChangedEventArgs(propertyName);
                handler(this, e);
            }
        }
         
    }
}
